PATH
WebObjects 4.5 Documentation >
Tools and Techniques
Sizing Tables
By default, the size of a table is determined by the contents of the table's cells. If you type text (or insert other elements) inside a table cell, the cell's width expands as necessary to fit the data. The width of any column, therefore, will be that of the widest cell in the column. Note:
In WebObjects Builder, a cell does not resize until you have finished editing the cell and tabbed to another cell or moved out of the table. To update the cell immediately, press the Escape key.
If you want to set the size of a table or cell explicitly, use the Inspector:
-
To set the width or height of a table, select the table and use the Table Inspector. You can enter values that correspond to HTML attributes controlling the size of the table.
-
To set the width or height of a cell, select the cell and use the Table Data Inspector. Changing a cell's size affects the size of the column or row containing the cell.
Warning: WebObjects Builder allows you to set sizing specifications that may be impossible, for example, percentages that add to more than 100% or cells in the same column with different widths. The way such tables appear depends on the browser.
© 1999 Apple Computer, Inc. – (Last Updated July 27 99)